<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .wd{
            width: 40px;
        }
    </style>
</head>
<body>
<!-- login是loginServlet虚拟路径-->
    <form action="login?sex=1" method="post">
        <table width="500px" border="1" cellspacing="0" cellpadding="10px" align="center">
            <caption><h2>用户登录表单</h2></caption>
            <tr>
                <td class="wd">账号</td>
                <td>
                    <input type="text" id="uname" name="uname">
                    <span id="uname_error"></span>
                </td>
            </tr>
            <tr>
                <td class="wd">密码</td>
                <td>
                    <input type="password" id="pwd" name="pwd">
                    <span id="pwd_error"></span>
                </td>
            </tr>
            <tr align="center">
                <td colspan="2">
                    <input type="submit" value="登录" id="login">
                </td>
            </tr>
        </table>
    </form>
    <img src="img/aaa.jpg">
</body>
</html>